package com.qianqian.service.mapper;

import com.qianqian.service.model.GameScene;
import com.qianqian.service.model.GameSceneExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GameSceneMapper {
    long countByExample(GameSceneExample example);

    int deleteByExample(GameSceneExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GameScene record);

    int insertSelective(GameScene record);

    List<GameScene> selectByExample(GameSceneExample example);

    GameScene selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GameScene record, @Param("example") GameSceneExample example);

    int updateByExample(@Param("record") GameScene record, @Param("example") GameSceneExample example);

    int updateByPrimaryKeySelective(GameScene record);

    int updateByPrimaryKey(GameScene record);


    GameScene selectNewScene();

    GameScene selectByEndGameNumber(Integer endGameNumber);
}